package com.baizhi.cmfz.dao;

import com.baizhi.cmfz.entiy.Article;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleDao extends BaseMapper<Article> {


    //获取总条数
    int getTotal();

    //获取当前页数据
    List<Article> getArticleByPage(@Param("start")int start, @Param("pageSize")int pageSize);

    void multiDelete(int [] ids);

    void update(Article article);

}
